翻訳と辞書 |
Value type
In computer science, the term ''value type'' is commonly used to refer to one of two kinds of data types: Types of values or Types of objects with deep copy semantics. == Types of values == Elements of Programming defines a ''value'' to be a sequence of bits, called ''datum'', together with its interpretation. A value type, then, is a correspondence between a set of data and a set of abstract or concrete entities sharing characteristic attributes. The set of entities is sometimes called a ''species''. For example, a value type—call it small_int_value — can establish the correspondence between a sequence of 16 bits and integers values from −32,768 to +32,767 through a two's complement representation. Value types do not include constraints on how their values are stored. E.g., the type small_int_value in the example above does not determine byte order, alignment, or even the number of 8-bit bytes used to store the 16 bits of the value type's representation. Since the values underpinning value types are not stored, value types also do not include a notion of mutation. A type that does determine constraints for storage in random-access memory is often called an ''object type''.
抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)』 ■ウィキペディアで「Value type」の詳細全文を読む
スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース |
Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.
|
|